package com.eshore.norm.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * cmdb主机表
 * @TableName cmdb_host
 */

@Data
@Accessors(chain = true)
public class SyncCmdbHostVO implements Serializable {

    /**
     * 主机id
     *
     * @mbg.generated 2021-03-17 14:41:02
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 主机唯一标识
     *
     * @mbg.generated 2021-03-17 14:41:02
     */
    @ApiModelProperty(value = "主机唯一标识")
    private String hostId;

    /**
     * 资源类型id
     *
     * @mbg.generated 2021-03-17 14:41:02
     */
    @ApiModelProperty(value = "资源类型id")
    private Long resourceId;

    /**
     * 资源类型
     *
     * @mbg.generated 2021-03-17 14:41:02
     */
//    @ApiModelProperty(value = "资源类型")
//    private CmdbResTypeEnums resourceType;

    /**
     * 账号id
     *
     * @mbg.generated 2021-03-17 14:41:24
     */
    @ApiModelProperty(value = "账号id")
    private Long accountId;

    /**
     * 机房id
     *
     * @mbg.generated 2021-03-17 14:41:02
     */
    @ApiModelProperty(value = "机房id")
    private Long machineRoomId;

    /**
     * 集群id
     *
     * @mbg.generated 2021-03-17 14:41:02
     */
    @ApiModelProperty(value = "集群id")
    private String clusterId;

    /**
     * 主机ip
     *
     * @mbg.generated 2021-03-17 14:41:02
     */
    @ApiModelProperty(value = "主机ip")
    private String hostIp;

    /**
     * 主机名
     *
     * @mbg.generated 2021-03-17 14:41:02
     */
    @ApiModelProperty(value = "主机名")
    private String hostName;

//    @ApiModelProperty(value = "账户类型(详细见代码枚举类) 1:私有云 2:公有云")
//    private CloudTypeEnum cloudType;

    @ApiModelProperty(value = "租户code")
    private Long tenantCode;

    @ApiModelProperty(value = "内存大小")
    private Long memorySize;

    @ApiModelProperty(value = "已使用内存大小")
    private Long usedMemory;

    @ApiModelProperty(value = "cpu大小")
    private Long cpuSize;

    @ApiModelProperty(value = "已使用CPU")
    private Long usedCpu;

    @ApiModelProperty(value = "存储大小")
    private Long storageSize;

    @ApiModelProperty(value = "cpu内核数")
    private Long cpuCores;

    @ApiModelProperty(value = "已使用磁盘大小")
    private Long usedStorage;
}
